From: David Härdeman Date: Sat, 13 Dec 2025 08:39:54 +0000 (+0100) Subject: luci-mod-network: update odhcpd configuration X-Git-Url: http://git.openwrt.org/%22https:/collectd.org/%22http:/www.crowdsec.net//%22https%22/%22https:/collectd.org/%22http:/www.crowdsec.net/%22https%22?a=commitdiff_plain;h=ac136290da18a4ff1ba975e28a6a1d093160ff19;p=project%2Fluci.git luci-mod-network: update odhcpd configuration Update two cfg parameters that have changed names/behaviour in recent versions of odhcpd. Signed-off-by: David Härdeman --- diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js index 530d96cb0e..ed040fa7c1 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js @@ -616,11 +616,11 @@ return view.extend({ _('Lease trigger'), _('Path to a script to run each time the lease file changes.')); - o = s.taboption('general', form.Value, 'hostsfile', + o = s.taboption('general', form.Value, 'hostsdir', _('Hosts file'), - _('Path to store a hostsfile (IP address to hostname mapping) in. Used by e.g. dnsmasq.')); + _('Directory to store hosts files (IP address to hostname mapping) in. Used by e.g. dnsmasq.')); - o = s.taboption('general', form.Value, 'piofolder', + o = s.taboption('general', form.Value, 'piodir', _('PIO directory'), _('Directory to store IPv6 prefix information files in (to detect and announce stale prefixes).'));